package com.corpdata.app.contract.service;

import java.util.List;

import com.corpdata.app.contract.entity.ContractStation;
import com.corpdata.common.result.Result;
import com.corpdata.core.base.BaseService;

/**
 * 合同工位关联
 * @author wu
 * @email 64088839@qq.com
 * @date 2018-07-18 16:44:22
 * 
 */
public interface ContractStationService extends BaseService<ContractStation>{
	//新增合同工位关系
	Result insert(String fkPartition, String contractId, String stationIds);
	//更改表状态
	int modifyFlag(String contractId,String partitionId);
	//删除合同工位关联
	int deleteByPartition(String partitionId, String contractId);
	//批量新增
	Result insertList(List<ContractStation> csList);
	//查询合同下的工位id 
	List<String> selectByContract(String id);
	//查询合同下所有工位
	List<ContractStation> selectAllByContract(String contractId);
	//删除临时数据
	void delTemporaryData();
	
}
